package com.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author marisheng
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TerminalKey implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "terminal_key_id", type = IdType.AUTO)
    private Integer terminalKeyId;

    /**
     * 密钥
     */
    private String terminalKeyValue;

    /**
     * 密钥生效开始时间
     */
    private LocalDateTime terminalKeyBeginTime;

    /**
     * 密钥生效结束时间
     */
    private LocalDateTime terminalKeyEndTime;

    /**
     * 密钥状态
     */
    private String terminalKeyStatus;

    /**
     * 终端表外键
     */
    private Integer terminalKey;

    /**
     * 站点外键
     */
    private Integer keySite;

    /**
     * 房间类型
     */
    private String terminalRoomType;



}
